<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>APP</title>
		<link href="css/weui.min.css" rel="stylesheet" />
		<link href="css/jquery-weui.min.css" rel="stylesheet" />
		<link href="css/style.css" rel="stylesheet" />
		<link href="fonts/iconfont.css" rel="stylesheet" />
		<link href="css/flex.css" rel="stylesheet" />
		<script src="js/immersed.js"></script>
	</head>

	<style>
		.main-body {
			background-color: #eee;
		}
		
		.weui-cell {
			font-size: 15px;
		}
		
		.weui-label {
			width: 180px;
			color: #999
		}
		
		.touxiang{
			text-align: center;
			margin: 15px 0 0 0;
		}
		.touxiang img{
			width: 80px;
			border-radius: 50%;
			border: #999 1px solid;
		}
	</style>

	<body>

		<div id="app">

			<div class="xiaoyi-header header-red" id="header">
				<div class="xiaoyi-header-left"><i class="iconfont icon-back " onclick="wsClose()"></i></div>
				<div class="xiaoyi-header-title">合伙人详情</div>
			</div>

			<div class="main-body" id="main">

				<div class="touxiang">
					<img class="touxiang" :src="items.icon_img+'@!200x200'" v-if='items.icon'>
					<img class="touxiang" src="images/nopic.gif" v-else>
					<p>{{items.real_name}}</p>
				</div>
				
				
				<div class="weui-cells">
				 
			  <div class="weui-cell">
			    <div class="weui-cell__bd">
			      <p>账号：</p>
			    </div>
			    <div class="weui-cell__ft">
			      {{items.agent_sn}}
			    </div>
			  </div>
			  
			  <div class="weui-cell">
			    <div class="weui-cell__bd">
			      <p>手机：</p>
			    </div>
			    <div class="weui-cell__ft">
			      {{items.phone}}
			    </div>
			  </div>
			  
			  <div class="weui-cell">
			    <div class="weui-cell__bd">
			      <p>微信：</p>
			    </div>
			    <div class="weui-cell__ft">
			      {{items.weixin}}
			    </div>
			  </div>
			  
			  <div class="weui-cell">
			    <div class="weui-cell__bd">
			      <p>QQ：</p>
			    </div>
			    <div class="weui-cell__ft">
			      {{items.qq}}
			    </div>
			  </div>
			  
			  <!--<div class="weui-cell">
			    <div class="weui-cell__bd">
			      <p>注册时间：</p>
			    </div>
			    <div class="weui-cell__ft">
			      {{items.create_time}} 
			    </div>
			  </div>
			  
			  <div class="weui-cell">
			    <div class="weui-cell__bd">
			      <p>最后登录时间：</p>
			    </div>
			    <div class="weui-cell__ft">
			      {{items.last_applogin_time}}
			    </div>
			  </div>-->
			  
			</div>

			</div>

		</div>

		<script src="js/mui.min.js"></script>
		<script src="js/jquery-2.1.4.js"></script>
		<script src="js/jquery-weui.min.js"></script>
		<script src="js/vue.js"></script>
		<script src="js/smarge.js"></script>
		<script src="js/common.js"></script>
		<script type="text/javascript" charset="utf-8">
			mui.init(); 
			
			mui.plusReady(function() {
				
				var _id = getUrlParam('id');

				var vm = new Vue({
					el:"#app",
					data:{
						items:[]
					},
					mounted:function(){
						this.inits();
					},
					methods:{
						inits:function(){
							var vm = this;  
							Get(SERVER_URL+'&c=User&a=getInfo',{uid:_id},function(data){
								if(data.status){
									vm.items=data.info;
									//alert(JSON.stringify(data)); 
								}else{
									mui.alert(data.info); 
								}
							})
						}
					}
				})
				
							
			});
		</script>
	</body>

</html>